﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ShareFrame.Entity.Base_Manage
{
    /// <summary>
    /// 短信平台配置表
    /// </summary>
    [Table("Base_SMSConfig")]
    public class Base_SMSConfig
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 自定义编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 越小越靠前
        /// </summary>
        public Int32? Sort { get; set; }

        /// <summary>
        /// 短信API秘钥ID
        /// </summary>
        public String M_AccessKeyID { get; set; }

        /// <summary>
        /// 短信API秘钥
        /// </summary>
        public String M_AccessKeySecret { get; set; }

        /// <summary>
        /// 短信签名名称
        /// </summary>
        public String M_SignName { get; set; }

        /// <summary>
        /// 短信模板ID
        /// </summary>
        public String M_TemplateCode { get; set; }

        /// <summary>
        /// 上行短信扩展码
        /// </summary>
        public String M_SmsUpExtendCode { get; set; }

        /// <summary>
        /// 外部流水扩展字段。
        /// </summary>
        public String M_OutId { get; set; }

        /// <summary>
        /// 短信配置备注
        /// </summary>
        public String Remark { get; set; }

    }
}